package com.ecjtu.stadiumre_servations.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ecjtu.stadiumre_servations.entity.domain.Student;
import com.ecjtu.stadiumre_servations.entity.domain.User;
import com.ecjtu.stadiumre_servations.entity.domain.Venue;
import com.ecjtu.stadiumre_servations.entity.dto.UserDTO;
import com.ecjtu.stadiumre_servations.response.Result;

public interface StudentService extends IService <Student>{
    boolean isUserExistsInStudent(UserDTO userDTO);
    boolean isUserIdCardCorrect(UserDTO userDTO);

    Result studentList(Page<Student> page);
    Result addStudent(Student student);
    void updateStudentCache(Student student);
    public Result removeStudent(String studentId);
}
